﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace Wcf_assassins
{
    [DataContract]
    public class DC_Objet
    {
        public DC_Objet(appartenir_objet obj)
        {
            this.nom = obj.objet.nom;
            this.urlimage = obj.objet.urlimage;
        }

        [DataMember(Name = "nom")]
        public String nom { get; set; }

        [DataMember(Name = "urlimage")]
        public String urlimage { get; set; }
    }
}